package com.stonedt.spider.dao;

import com.stonedt.spider.entity.DataSource;
import com.stonedt.spider.entity.Websiteshie;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface WebsiteshieDao {

	List<Websiteshie> Webcheak(Websiteshie Websiteshie);
	
	void Webadd(Websiteshie Websiteshie);
	
	void delte(String id);

	//通过二级域名查询站点
    DataSource seleteWebsiteByTwoDomain(@Param("two_domain") String two_domain);

	Integer updateWebSite(@Param("dataSource") DataSource dataSource);

	Integer insertWebSite(@Param("dataSource")DataSource dataSource);
	
	//通过二级域名查询站点-招投标
    DataSource seleteBidWebsiteByTwoDomain(@Param("two_domain") String two_domain);

	Integer updateBidWebSite(@Param("dataSource") DataSource dataSource);

	Integer insertBidWebSite(@Param("dataSource")DataSource dataSource);
}
